package com.cnt.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class Transfer {

    @TableId(type = IdType.ASSIGN_ID)
    private String transferId;

    private int fromId;
    private int toId;
    private double amount;
    private Date time;
}
